<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            perspective: 700px;
            perspective-origin: 50px 50px;
        }
        
        div {
            width: 800px;
            height: 800px;
            border: 1px solid red;
            margin: 100px auto;
        }
        
        div:hover img {
            transform: rotateX(60deg);
            /* transform-origin: bottom; */
        }
        
        img {
            transition: all 1s;
        }
    </style>
</head>

<body>

    <!-- 3d效果近大远小 
    3d 可以实现近大远小的效果
    语法格式
    -->
    <div>
        <img src="./R-C.jpg" alt="" srcset="">
    </div>

</body>

</html>